<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
		.logo{
			float:left;
			width:200px;
			height:50px;
			text-indent:-100px;
			background: url("<%=path%>/resource/images/logo.png") no-repeat;
		}
		.nav{
			display: block;
			position:relative;
			height: 50px;
			overflow: hidden;
			background: url("<%=path%>/resource/images/header_bg.png") repeat-x;
		}
		.usertip{
			float:right;
			padding-right: 20px;
			padding-top: 25px;
		}
	</style>
	<script type="text/javascript">
		Ext.onReady(function(){
			alert(1);
		});
	</script>
  </head>
  
  <body>
   		<div class="nav">
   			<a class="logo">logo</a>
   			<div class="usertip">
   				<span>今天是：2011年1月2日 星期二  13:33:34</span>&nbsp;&nbsp;
   				<span>欢迎您：张银友  业务员</span>
   			</div>
   		</div>
  </body>
</html>
